
from django.urls import path
from . import views
from .views import login_view, logout_view, register_view, profile_view, change_profile_view, publish_view,create_plan

app_name = "accounts"
urlpatterns = [
    path('login/', login_view, name='login'),
    path('wxlogin/', views.login_or_create_account, name='wxlogin'),
    path('logout', logout_view, name='logout'),
    path('register/', register_view, name='register'),
    path('profile/', profile_view, name='profile'),
    path('profile/change/', change_profile_view, name='change_profile'),
    path('publish/', publish_view, name='publish'),
    path(r'create_plan/', create_plan, name='create_plan'),
    path('get-openid/',views.GetOpenIdView,name='get-openid'),
]

